"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const infoerr_1 = require("./infoerr");
function default_1(req, res, next) {
    console.log(req.signedCookies.feifan);
    if (req.signedCookies.feifan.right == "1") {
        return next();
    }
    else
        (0, infoerr_1.err)(res, "权限不足");
}
exports.default = default_1;
